ul,
li {
  border: solid;
  list-style: none;
  padding: 0;
}

.menus {
  display: flex;
  height: 40px;

  li {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  > li {
    position: relative;
    width: 200px;
    &:hover {
      background-color: antiquewhite;
      .submenus {
        display: block;
      }
    }
    .submenus {
      position: absolute;
      left: 0;
      right: 0;
      top: 40px;
      display: none;
      > li {
        &:hover {
          background-color: beige;
        }
      }
    }
  }
}
